package com.example.voucher.event;

import java.util.UUID;

public abstract class BaseEvent {

    protected String eventId;

    public BaseEvent() {
        super();
        this.eventId = UUID.randomUUID().toString().replaceAll("_", "");
    }

    public String getEventId() {
        return eventId;
    }

}
